package com.ss.android.mine;

import android.content.Context;
import android.content.DialogInterface;

import com.bytedance.common.utility.UIUtils;
import com.ss.android.article.browser.R;
import com.ss.android.common.lib.MobClickCombiner;
import com.ss.android.common.util.NetworkUtils;

final class f implements DialogInterface.OnClickListener {
    private final BaseSettingActivity a;

    f(BaseSettingActivity arg1) {
        this.a = arg1;

    }

    public final void onClick(DialogInterface arg4, int arg5) {
        BaseSettingActivity v0 = this.a;
        if(!NetworkUtils.isNetworkAvailable(((Context)v0))) {
            UIUtils.showImageToast(((Context)v0), R.drawable.close_popup_textpage, R.string.ss_error_no_connections);
        }
        else {
            MobClickCombiner.onEvent(((Context)v0), "xiangping", "account_setting_signout");
            v0.f.e();
        }
    }
}

